package auction.dao;


import auction.entity.Auctionuser;
import org.apache.ibatis.annotations.Param;

public interface AuctionUserDao {
    //注册用户
    Integer RegisterUser(Auctionuser auctionuser);

    //用户登录
    Integer UserLogin(@Param("userName") String userName, @Param("userPassword") String userPassword);

    //管理元登录
    Integer AdminLogin(@Param("userName") String userName, @Param("userPassword") String userPassword);

    //根据用户姓名获取用户id
    Integer getUserIdByName(@Param("username") String username);
}
